positive:
  configValues:
    - {}
    - resourcesRequests:
        mode: "VPA"
        vpa:
          memory:
            max: "512Mi"
            min: "16Mi"
          cpu:
            max: "2000m"
            min: "200m"
    - resourcesRequests:
        mode: "VPA"
        vpa:
          memory:
            max: 512
            min: 16
          cpu:
            max: 2
            min: 0.2
    - resourcesRequests:
        mode: "VPA"
        vpa:
          memory:
            max: 1.5Gi
            min: 2.0Ki
          cpu:
            max: 2
            min: 0.2
    - resourcesRequests:
        mode: "Static"
        static:
          memory: 1.5Gi
          cpu: 0.2
  values:
    - internal: {}
negative:
  configValues:
    - somethingInConfig: yes
    - resourcesRequests:
        mode: "VPA"
        vpa:
          memory:
            max: "512Hz"
            min: "16m"
    - resourcesRequests:
        mode: "VPA"
        vpa:
          cpu:
            max: "512cpu"
            min: "16Mi"
    - resourcesRequests:
        mode: "VPA"
        vpa:
          memory:
            max: "1Hi"
            min: "1.Mi"
  values:
    - somethingInConfig: yes
